<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title th:text="${component.name}"></title>
    [(${component.headLinks})]
</head>
<style>
    * {
        margin: 0px;
        padding: 0px;
    }

    html,
    body {
        height: 100%;
        width: 100%;
        overflow: hidden;
        background-color: Transparent;
    }
    #panel-content-container{
        height: 100%;
        width: 100%;
    }
</style>
<body>
<div id="panel-content-container">
    [(${component.htmlbody})]
</div>
<script>
    (function (container , context) {
        context=context||{}
        context.initPanel=context.initPanel||function () {
            console.warn('initPanel is null')
        }
        [(${component.codes})]
    })(document.getElementById("panel-content-container"), window);

</script>
</body>
</html>